package com.wanmei.mapper;

import com.wanmei.pojo.Product;
import com.wanmei.pojo.Productpic;

import java.util.List;

public interface ProductpicMapper {

    Productpic selectOnePicUrl(int pid);

    int deleteByPrimaryKey(Integer picid);
    int deleteByPID(Integer pid);
    int insert(Productpic record);

    int insertSelective(Productpic record);

    Productpic selectByPrimaryKey(Integer picid);

    int updateByDeletePid(int pid);

    int updateByPrimaryKeySelective(Productpic record);

    int updateByPrimaryKey(Productpic record);

    List<Product> findProductPicList();// 返回商品图片列表，

    Product selectByPID(Integer pid);
}